<template>
  <div>
    <!-- 路由缓存,属性include指定缓存哪个组件，其值是组件名或者(组件配置中的name属性) -->
    <keep-alive include="Home">
    <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
export default {
    name:"App",
}
</script>

<style>

</style>